
<script language="javascript">
	function gologin(){

			document.forms[0].action='<?=site_url("admin/authentication")?>';
			document.forms[0].submit();
	}
</script>
<div id="border">
  <table width="680" border="0" align="center" id="usertitle">
      <tr>
        <td><h3 style="font-size:17px;">Login ID</h3></td>
        <td align="right"><img src="<?=base_url();?>images/Secure_connection.gif" alt="" width="116" height="22" /></td>
    </tr>
    </table>
  <div id="login">
	<div class="user_line_border_top">&nbsp;</div>
    <div style="width:40%; margin:46px auto 0 auto;">
        <form id='login-form' method='post'>
        <div style='color: #333; font-size: 12px; color: #555; padding-bottom: 5px;' >Username</div>
        <input type='text' name='userlogin' id="userlogin" value="<?=htmlspecialchars($userlogin); ?>" style='padding: 5px; font-size: 16px; width: 250px; '/><br/><br/>
        <div style='color: #333; font-size: 12px; color: #555; padding-bottom: 5px;'>Password</div>
        <input name='userpwd' type='password' id="userpwd" value="<?=htmlspecialchars($userpwd); ?>" style='padding: 5px; font-size: 16px; width: 250px; ' size=30  />
        <br/><br/>
        <font color="#FF0000"><?php echo $err_msg;?></font>
        <input type='submit' name="btnlogin" onclick="gologin()" value='Login' style="background:#BD2031; width:86px; height:28px; color:#fff; border:0;-webkit-border-radius: 3px;-moz-border-radius: 3px;border-radius: 3px; cursor:pointer;" />
        </form>
     </div>
  </div>

</div>